<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?>
<div class="conter">

  <div class="conter_nav"> <a href="/">首页</a>><a title="资讯" href="/page/1">商家</a>> <?php if(isset($current_view_hints)):?><?php echo $current_view_hints;?>  <?php endif;?></div>
<div class="bianji">
<h1><?php echo $page_title;?></h1>
</div>
  <div  class="left_zt_c" >
  
  <div  class="left_zt_c cont_left_new" >
  		<?php if(!empty($posts) && is_array($posts)):?>		
			<div class="left_home">

					<?php foreach($posts as $key=> $post):?>
	
					<div class="ks-waterfall" >
						<div class="ctn">
							<div class="wrap">
							
								<div class="img">
									<img src="<?php echo kc_iamg_taobao($post->kpath);?>_210x1000.jpg"  alt="<?php echo $page_title;?>"/>
								</div>
								<div class="oper clearfix">
										<a  href="#" class="J_ILikeLink ilike floatleft">
											<b class="like-txt ">喜欢&nbsp;</b>
											<b class="like-num hidden"><span><?php echo $post->dianji;?></span></b>
											<i></i>
										</a>
										<span class="cmt floatright">
											<a  href="javascript:;" class="k_ajax title gray" rel="{CMD:'edt',URL:'/browse/kuidb/index.php',METHOD:'GET',kid:'<?php echo $post->pid;?>',typeid:'3'}" target="_blank">评论</a>
											<a class="red hidden" href="" target="_blank">0</a>
										</span>
								</div>
								
								<div class="info clearfix">
									 <?php if(!empty($post->userid)):?>	
									 <div class="user-pic floatleft  J_CardTrigger" >
									 	<img src="<?php echo kc_userherd($post->userid,'small');?>" />
									 </div>

									   <div class="user-detail recommend-txt floatleft"><span><?php echo $post->username;?></span><br>	
												<?php echo $post->excerpt;?>
									   </div>

									<?php else:?>
									<?php echo $post->excerpt;?>
									<?php endif;?>
								</div>
								
							
								
							</div>
							<div class="comment">
								<ul>
									<li class="dark">
										分类: <?php echo Common::format_metas($post->categories, ',');?> 

									</li>									
								</ul>
							</div>
						</div>
						<div class="btm"></div>
					</div>				
					<?php
			
							if($key == round(count($posts)/3)-1 || $key == round(count($posts)/3)*2-1){
								echo '</div><div class="left_home">';
							} ;
					?>
				<?php endforeach;?>
				<?php endif;?>	
				
				
				
				
				
				
				
				
				
				
			</div>
	
	
	
	
	
	
	

	
	

     <div id="J_PageContent">
	 	 <div class="pagination">
	 		<div class="page-bottom J_PageContainer">
				<?php if(isset($pagination)):?>
				<?php echo $pagination;?>
				<?php endif;?>
			</div>
		</div>
	</div>
  </div>
  </div>
 
<div  class="left_zt_c" style="width:254px;float: right;">


	<div class="nas_ls_a">
					<?php
						$this->kclass->ad_row(1);
					?>
	</div>

  <div class="cont_left_new">
  

	
	
	<div class="s-album">
                    <div class="s-album-topbox clearfix">
                        <b class="blue24"><?php $this->plugin->trigger('Widget::Categories', '<a href="{permalink}" title="{description}" class="J_A_Album_Tag s-album-tag" ><i class="rl"></i>{title} [{count}]<i class="rr"></i></a>');?></b>

                    </div>
                    <div class="s-album-tagbox clearfix">

                        <div class="s-album-tags">
      						  <?php echo Common::format_metas($post->tags, '');?>
                        </div>
                    </div>
  </div>

	
  </div>
  	<div class="list_a_ls" style="width:232px;float: right;">
				<h3>最新问答</h3>

				<ul>

					
					<?php
							
									$this->kclass->bbs_now(1,array('typeid'=>'3'));
					?>	
					
				</ul>

			</div>
</div>

</div>
